//
//  RedioDetailModel.m
//  Leisure
//
//  Created by 大展 on 16/4/20.
//  Copyright © 2016年 张展. All rights reserved.
//

#import "RedioDetailModel.h"

@implementation RedioDetailModel

- (instancetype)init{
    self = [super init];
    if (self) {
        self.playInfo = [[PalyInfoModel alloc] init];
    }
    return self;
}
- (void)setValue:(id)value forKey:(NSString *)key{
    if ([key isEqualToString:@"playInfo"]) {
        [self.playInfo setValuesForKeysWithDictionary:value];
        self.title = self.playInfo.title;
    }else{

        [super setValue:value forKey:key];
    }
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}
@end
